const router = [];
router.push({
    path: "/",
    component: () => import("../components/Dashboard"),
    name: "Index",
    redirect: "/home",
    children: [{
        path: "/home",
        name: "Home",
        component: () => import("../components/Index"),
        meta: {
            title: "首页",
            keepAlive: false
        }
    },{
        path: "/page",
        name: "Page",
        component: () => import("../components/cms/PageUi"),
        meta: {
            title: "单页面管理",
            menuIcon:"caret-square-up",
            keepAlive: false
        }
    }, {
        path: "/news",
        name: "News",
        component: () => import("../components/cms/NewsUi"),
        meta: {
            title: "新闻管理",
            menuIcon:"caret-square-up",
            keepAlive: false
        }
    }, {
        path: "/products",
        name: "Products",
        component: () => import("../components/cms/ProductUi"),
        meta: {
            title: "产品管理",
            menuIcon:"caret-down",
            keepAlive: false
        }
    }, {
        path: "/menus",
        name: "Menuinfo",
        component: () => import("../components/cms/MenuinfoUi"),
        meta: {
            title: "菜单管理",
            menuIcon:"campground",
            keepAlive: false
        }
    }, {
        path: "/information",
        name: "Information",
        component: () => import("../components/cms/SystemconfigUi"),
        meta: {
            title: "系统配置",
            menuIcon:"building",
            keepAlive: false
        }
    }, {
        path: "/usersinfo",
        name: "Usersinfo",
        component: () => import("../components/cms/UsersinfoUi"),
        meta: {
            title: "用户管理",
            menuIcon:"arrows-alt-v",
            keepAlive: false
        }
    },
    //     {
    //     path: "/category",
    //     name: "Category",
    //     component: () => import("../components/cms/DataCategoryUi"),
    //     meta: {
    //         title: "类别管理",
    //         menuIcon:"arrow-circle-left",
    //         keepAlive: false
    //     }
    // },
        {
        path: "/friendlink",
        name: "FriendLink",
        component: () => import("../components/cms/FriendLinkUi"),
        meta: {
            title: "友情链接",
            menuIcon:"pencil-alt",
            keepAlive: false
        }
    }, {
        path: "/feedback",
        name: "FeedBack",
        component: () => import("../components/cms/FeedbackUi"),
        meta: {
            title: "在线反馈",
            menuIcon:"air-freshener",
            keepAlive: false
        }
    }],
    meta: {
        title: "主页",
        keepAlive: false
    }
});
router.push({
    path: "/login",
    component: () => import("../components/Login"),
    name: "登录",
    meta: {
        keepAlive: false,
        title: "系统登录"
    }
});
export default router;